Skip to content

Allow providing a pull secret for the plugin daemonsets #2074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tkatila
Copy link
Contributor

@tkatila tkatila commented Jun 16, 2025

Change is split into two commits, one adding the support to provide the secrets, and another to restructure how data is passed to the controllers. The restructuring can be dropped or the two can be merged.

Fixes ##1981

tkatila added 2 commits June 16, 2025 10:30
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
Copy link
Contributor

@mythi mythi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the args restructuring so +1 for keeping it and squashing the commits. I suggested a couple for renamings though. What do you think?

@@ -94,6 +94,12 @@ type DevicePluginController interface {
Upgrade(ctx context.Context, obj client.Object) (upgrade bool)
}

type ControllerArgs struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type ControllerArgs struct {
type ControllerOptions struct {

@@ -94,6 +94,12 @@ type DevicePluginController interface {
Upgrade(ctx context.Context, obj client.Object) (upgrade bool)
}

type ControllerArgs struct {
Namespace string
Secret string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Secret string
ImagePullSecretName string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants